package com.ssm.service.impl;

import com.ssm.dao.SceneryDao;
import com.ssm.dao.ScenerysDao;
import com.ssm.pojo.Scenery;
import com.ssm.pojo.Scenerys;
import com.ssm.service.SceneryService;
import com.ssm.service.ScenerysService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScenerysServiceImpl implements ScenerysService{

    @Autowired
    private ScenerysDao scenerysDao;



    @Override
    public List<Scenerys> getScenerysById(Integer id) {
        return scenerysDao.getScenerysById(id);
    }
}
